<template>
    <div class="daialogueManage knowledge-container">
        <div class="container">
            <el-tabs v-model="activeName">
                <el-tab-pane label="会话列表" name="dialogueList"></el-tab-pane>
                <el-tab-pane label="词槽能力组件" name="dialogueSlotAbility"></el-tab-pane>
            </el-tabs>
            <component :is="componentName" class="materialCom"></component>
        </div>
    </div>
</template>

<script>
import dialogueList from "./dialogueList.vue"
import dialogueSlotAbility from "./dialogueSlotAbility.vue"
export default {
    name: "daialogueManage",
    data() {
        return {
            activeName: "dialogueList",
        }
    },
    created() {
    },
    methods: {},
    computed: {
        componentName() {
            return this.activeName;
        },
    },
    components: {
        dialogueList,
        dialogueSlotAbility
    }
}
</script>

<style lang="scss">
.daialogueManage {
    height: 100%;
    overflow: hidden;
    .container {
        padding: 0;
    }
    .materialCom {
        height: calc(100% - 55px);
    }
}
</style>